<?php

namespace App\Http\Controllers\Chanjet;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class TplusOtherInboundOrder extends BaseController
{
    public function getExternalData(Request $request){
        //dump($this->mangerinfo);die;
        $common = new TplusCommonController();
        $res = $common->getExternalData("TplusOtherInboundOrder",$this->mangerinfo['org_id']);
        return $res;
    }

    public function getlist(Request $request)
    {
        $memberinfo = $this->mangerinfo;
        $isgetall = $request->isgetall ?? 0;
        $list = \App\Models\Chanjet\TplusOtherInboundOrder::getList($request, $memberinfo, $isgetall);
        return response()->json(['code' => '000', 'msg' => '操作成功', 'data' => $list]);
    }

}
